/**
 *  Copyright (c)  2011-2020 Panguso, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Panguso, 
 *  Inc. ("Confidential Information"). You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into with Panguso.
 */

package cn.edu.thu.log.web.service;

import java.util.ArrayList;
import java.util.Map;

import storage.dbobject.DbBusinessPattern;
import storage.dbobject.DbVersion;
import cn.edu.thu.log.preprocessrule.OneToMoreUtil;

/**
 * 
 * @author dongzihe
 *
 */
public interface WebConfigReadService {
/**
 * 
 * @param filename parameter
 */
	 void readWebConfig(String filename);

	// 读取case
/**
 * 
 * @return
 */
	 ArrayList<String> getCaseIDList();

	// 读取activity
/**
 * 
 * @return
 */
	 ArrayList<String> getActivityIDList();
/**
 * 
 * @return
 */
	// 读取业务模版中配置的需要分段的字段
	 String getClassifyTagList();
/**
 * 
 * @return
 */
	 String getTimeStamp();
/**
 * 
 * @return
 */
	 Map<String, String> getFormatActivityIDList();
/**
 * 
 * @return
 */
	 ArrayList<String> getProductsList();

	// 读取logclean
/**
 * 
 * @return
 */
	 Map<String, String> getLogCleanList();

	// 读取noise
/**
 * 
 * @return
 */
	 Map<String, OneToMoreUtil> getNoiseStringList();
/**
 * 
 * @return
 */
	 String getMin();
/**
 * 
 * @return
 */
	 String getMax();
/**
 * 
 * @return
 */
	 String getPatternName();
/**
 * 
 * @param patternName parameter
 */
	 void setPatternName(String patternName);
/**
 * 
 * @return
 */
	 String getVersionName();
/**
 * 
 * @param versionName parameter
 */
	 void setVersionName(String versionName);
/**
 * 
 */
	 void config();
/**
 * 
 * @return
 */
	 DbVersion getVersion();
/**
 * 
 * @param version parameter
 */
	 void setVersion(DbVersion version);
/**
 * 
 * @return
 */
	 DbBusinessPattern getPattern();
/**
 * 
 * @param pattern parameter
 */
	 void setPattern(DbBusinessPattern pattern);

}
